Repository navigation
feat(listen): spoken summaries of pages, from a local LLM and Piper - #22
Merged
Merged
Conversation
gA sends the page's article (found by reader's Readability) to Ollama for a short summary meant to be heard, has Piper read it into a clip, and saves it. :listen-library lists the clips to play, filter, open or delete. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New plugin, listen:
gA/:listengets the article with reader's Readability, asks Ollama (through curl, on localhost) for a ~150-word spoken summary, and has Piper read it into a clip. It runs in the background and sends a message when the clip is ready.~/.local/share/riptide/listen(thediroption), as Opus when ffmpeg is installed and WAV otherwise. Their metadata goes inrt.store.:listen-librarylists the clips with a filter, the summary text, a link to the source page, delete, and a player with speed control.voice(required),model,ollama,words,piper,ffmpeg,dir,key.:pack-healthchecks for curl, piper, the voice file and ffmpeg.Needs riptide >=0.20, which adds
media-src 'self' blob:to plugin pages (joshzcold/riptide#159). Until the nightly reaches 0.20, CI skips listen with a warning.Testing:
riptide --plugin-test listenwith fake curl and piper (test/bin) gives 5/5 on the v0.20.0 release. On 0.17.0, the playback test fails withMedia load rejected by URL safety check.🤖 Generated with Claude Code